-- card: 21011 from stack: in.2r -- bmap block id: 0 -- flags: 0000 -- background id: 3837 -- name: sortItems -- part contents for background part 10 ----- text ----- 10 -- part contents for background part 5 ----- text ----- sortItems -- part contents for background part 6 ----- text ----- This will sort the items in a HyperCard field. As you know an item is any number of characters separated by commas. This XFCN will put them into ascending or descending order, and optionally put each item on a separate line. Marvin G. Nelsen 20462 Castle Rock Cir. Huntington Beach CA. 92646 GENIE: M.NELSEN -- part contents for background part 7 ----- text ----- Syntax: SortItems(, [][, "DE"]) The function returns a sorted list. input: Any HyperCard Container Lines: "true" means put each sorted item into a separate line. "false" means put all sorted items into one line. (Default) Descending: "DE" forces the sort to be in descending order. Example: put SortItems(input,true) into output output may be the same container as input. The sort is Case Insensitive.